package cn.stylefeng.guns.modular.hx.basic.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

/**
 * <p>
 * 商品信息表
 * </p>
 *
 * @author zhucx
 * @since 2023-06-18
 */
@Data
@TableName("hx_basic_goods")
public class HxBasicGoods implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 客户id
     */
    @TableField("goods_customer_id")
    private Integer goodsCustomerId;

    /**
     * 客户
     */
    @TableField("goods_customer_name")
    private String goodsCustomerName;

    /**
     * 名称
     */
    @TableField("goods_name")
    private String goodsName;

    /**
     * 重泡货
     */
    @TableField("goods_heavybubble")
    private String goodsHeavybubble;

    /**
     * 编号
     */
    @TableField("goods_number")
    private String goodsNumber;

    /**
     * 商品码
     */
    @TableField("goods_pcode69")
    private String goodsPcode69;

    /**
     * 商品码2（箱码）
     */
    @TableField("goods_xcode69")
    private String goodsXcode69;

    /**
     * 商品码3（盒码）
     */
    @TableField("goods_hcode69")
    private String goodsHcode69;

    /**
     * 助记码
     */
    @TableField("goods_helpcode")
    private String goodsHelpcode;

    /**
     * 采购规格
     */
    @TableField("goods_specs")
    private String goodsSpecs;

    /**
     * 分类
     */
    @TableField("goods_bigtype")
    private String goodsBigtype;

    /**
     * 分类id
     */
    @TableField("goods_bigtype_dict_id")
    private Long goodsBigtypedictId;

    /**
     * 品牌
     */
    @TableField("goods_brand")
    private String goodsBrand;

    /**
     * 基本单位
     */
    @TableField("jiben_unit")
    private String jibenUnit;

    /**
     * 库存单位
     */
    @TableField("kc_unit")
    private String kcUnit;

    /**
     * 库存换算率
     */
    @TableField("kc_rate")
    private String kcRate;

    /**
     * 采购单位
     */
    @TableField("cg_unit")
    private String cgUnit;

    /**
     * 采购换算率
     */
    @TableField("cg_rate")
    private String cgRate;

    /**
     * 批发单位
     */
    @TableField("pf_unit")
    private String pfUnit;

    /**
     * 批发换算率
     */
    @TableField("pf_rate")
    private String pfRate;

    /**
     * 配送单位
     */
    @TableField("ps_unit")
    private String psUnit;

    /**
     * 配送换算率
     */
    @TableField("ps_rate")
    private String psRate;

    /**
     * 安全库存值
     */
    @TableField("anquan_num")
    private String anquanNum;

    /**
     * 底
     */
    @TableField("goods_bottom")
    private String goodsBottom;

    /**
     * 叠层
     */
    @TableField("goods_lamination")
    private String goodsLamination;

    /**
     * 托层
     */
    @TableField("goods_traylayer")
    private String goodsTraylayer;

    /**
     * 每托存量
     */
    @TableField("goods_supportvolume")
    private String goodsSupportvolume;

    /**
     * 长
     */
    @TableField("length")
    private String length;

    /**
     * 高
     */
    @TableField("height")
    private String height;

    /**
     * 宽
     */
    @TableField("width")
    private String width;

    /**
     * 采购重量
     */
    @TableField("goods_weight")
    private String goodsWeight;

    /**
     * 采购体积
     */
    @TableField("goods_volume")
    private String goodsVolume;

    /**
     * 采购价
     */
    @TableField("goods_charging_cg")
    private String goodsChargingCg;

    /**
     * 配送价
     */
    @TableField("goods_charging_ps")
    private String goodsChargingPs;

    /**
     * 化箱规格
     */
    @TableField("box_specs")
    private String boxSpecs;

    /**
     * 批发价
     */
    @TableField("goods_charging_pf")
    private String goodsChargingPf;

    /**
     * 保质期
     */
    @TableField("goods_warranty")
    private String goodsWarranty;

    /**
     * 备注
     */
    @TableField("goods_nodes")
    private String goodsNodes;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 创建用户
     */
    @TableField("create_name")
    private String createName;

    /**
     * 修改用户
     */
    @TableField("update_name")
    private String updateName;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 交付id
     */
    @TableField("deliver_id")
    private Long deliverId;

    /**
     * 商品图片id
     */
    @TableField("v1")
    private String v1;

    /**
     * 预留2
     */
    @TableField("v2")
    private String v2;

    /**
     * 预留3
     */
    @TableField("v3")
    private String v3;

    /**
     * 预留4
     */
    @TableField("v4")
    private String v4;

    /**
     * 预留5
     */
    @TableField("v5")
    private String v5;

    /**
     * 是否拆零
     */
    @TableField("dismantling_parts")
    private String dismantlingParts;

    /**
     * 新零帮商品id
     */
    @TableField("goods_xlb_id")
    private String goodsXlbId;


    @Override
    public String toString() {
        return "HxBasicGoods{" +
                "id=" + id +
                ", goodsCustomerId=" + goodsCustomerId +
                ", goodsCustomerName=" + goodsCustomerName +
                ", goodsName=" + goodsName +
                ", goodsNumber=" + goodsNumber +
                ", goodsPcode69=" + goodsPcode69 +
                ", goodsXcode69=" + goodsXcode69 +
                ", goodsHelpcode=" + goodsHelpcode +
                ", goodsSpecs=" + goodsSpecs +
                ", goodsHeavybubble=" + goodsHeavybubble +
                ", goodsBigtype=" + goodsBigtype +
                ", goodsBrand=" + goodsBrand +
                ", jibenUnit=" + jibenUnit +
                ", kcUnit=" + kcUnit +
                ", kcRate=" + kcRate +
                ", cgUnit=" + cgUnit +
                ", cgRate=" + cgRate +
                ", pfUnit=" + pfUnit +
                ", pfRate=" + pfRate +
                ", psUnit=" + psUnit +
                ", psRate=" + psRate +
                ", anquanNum=" + anquanNum +
                ", goodsBottom=" + goodsBottom +
                ", goodsLamination=" + goodsLamination +
                ", goodsTraylayer=" + goodsTraylayer +
                ", goodsSupportvolume=" + goodsSupportvolume +
                ", length=" + length +
                ", height=" + height +
                ", width=" + width +
                ", goodsWeight=" + goodsWeight +
                ", goodsVolume=" + goodsVolume +
                ", goodsChargingCg=" + goodsChargingCg +
                ", goodsWarranty=" + goodsWarranty +
                ", goodsNodes=" + goodsNodes +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", createName=" + createName +
                ", updateName=" + updateName +
                ", deptId=" + deptId +
                ", deliverId=" + deliverId +
                ", v1=" + v1 +
                ", v2=" + v2 +
                ", v3=" + v3 +
                ", v4=" + v4 +
                ", v5=" + v5 +
                ", dismantling_parts=" + dismantlingParts +
                ", goodsXlbId=" + goodsXlbId +
                ", boxSpecs=" + boxSpecs +

                "}";
    }
}
